package com.prs.crm.dao.assets.impl;

import java.util.List;

import org.hibernate.Criteria;

import com.prs.crm.dao.assets.AssetsLingYongDao;
import com.prs.crm.dao.impl.BaseDaoImpl;
import com.prs.crm.domain.assets.AssetsLingYong;

public class AssetsLingYongDaoImpl extends BaseDaoImpl<AssetsLingYong> implements AssetsLingYongDao{

	@Override
	public List<AssetsLingYong> getAllLingy() {
		Criteria cri = this.getSession().createCriteria(AssetsLingYong.class);
		
		return cri.list();
	}
}
